package com.datang.petstore.model;

/*
* @auther 顶风少年 
* @mail dfsn19970313@foxmail.com
* @date 2019-11-07 15:09
* @notify  添加微博评论入参
* @version 1.0
*/
public class MicroblogCommentRequest extends BaseUserModel {
    private Integer id;

    private String text;

    private String userId;

    private Integer microblogId;

    private String microblogUserId;

    private Integer likeNumber;

    private Integer commentNumber;

    private String replyUserId;

    private Integer parentid;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text == null ? null : text.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public Integer getMicroblogId() {
        return microblogId;
    }

    public void setMicroblogId(Integer microblogId) {
        this.microblogId = microblogId;
    }

    public String getMicroblogUserId() {
        return microblogUserId;
    }

    public void setMicroblogUserId(String microblogUserId) {
        this.microblogUserId = microblogUserId == null ? null : microblogUserId.trim();
    }

    public Integer getLikeNumber() {
        return likeNumber;
    }

    public void setLikeNumber(Integer likeNumber) {
        this.likeNumber = likeNumber;
    }

    public Integer getCommentNumber() {
        return commentNumber;
    }

    public void setCommentNumber(Integer commentNumber) {
        this.commentNumber = commentNumber;
    }

    public String getReplyUserId() {
        return replyUserId;
    }

    public void setReplyUserId(String replyUserId) {
        this.replyUserId = replyUserId == null ? null : replyUserId.trim();
    }

    public Integer getParentid() {
        return parentid;
    }

    public void setParentid(Integer parentid) {
        this.parentid = parentid;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", text=").append(text);
        sb.append(", userId=").append(userId);
        sb.append(", microblogId=").append(microblogId);
        sb.append(", microblogUserId=").append(microblogUserId);
        sb.append(", likeNumber=").append(likeNumber);
        sb.append(", commentNumber=").append(commentNumber);
        sb.append(", replyUserId=").append(replyUserId);
        sb.append(", parentid=").append(parentid);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}
